﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Estimate.Common.DataFileValidator
{
    /// <summary>
    /// 合法性检查结果
    /// </summary>
    public class ValidateResult
    {    
        /// <summary>
        /// 错误的数目
        /// </summary>
        public int ErrorCount
        {
            get
            {
                return ErrorList.Count;
            }
        }

        /// <summary>
        /// 合法性检查错误列表
        /// </summary>
        public List<ValidateResultRecord> ErrorList;

        public ValidateResult()
        {
            ErrorList = new List<ValidateResultRecord>();
        }
    }
}
